home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / shu194st.zoo / shellutils-1.9.4 / man / Makefile < prev    next >
Encoding:
Makefile  |  1994-03-15  |  2.3 KB  |  81 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # Makefile for GNU shell utilities documentation.
  3. # Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
  4.  
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2, or (at your option)
  8. # any later version.
  9.  
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14.  
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program; if not, write to the Free Software
  17. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19. SHELL = /bin/sh
  20.  
  21. srcdir = .
  22. VPATH = .
  23.  
  24. prefix = /usr/local
  25. exec_prefix = $(prefix)
  26. mandir = $(prefix)/man/man1
  27. manprefix = $(binprefix)
  28. manext = 1
  29. INSTALL = /usr/local/bin/install -c
  30. INSTALL_DATA = $(INSTALL) -m 644
  31.  
  32. # Files to install on all systems
  33. MANFILES1 = basename.1 date.1 dirname.1 echo.1 env.1 expr.1 false.1 groups.1 \
  34. id.1 logname.1 pathchk.1 printenv.1 printf.1 sleep.1 tee.1 test.1 \
  35. true.1 tty.1 who.1 whoami.1 yes.1
  36.  
  37. # Files to install if configure determines we can build the corresponding
  38. # executables.
  39. MANFILES2 = nice.1 nohup.1 su.1 stty.1 uname.1
  40.  
  41. # Files to install.
  42. MANFILES = $(MANFILES1)  uname.1 nice.1 nohup.1 stty.1
  43.  
  44. DISTFILES = Makefile.in $(MANFILES1) $(MANFILES2)
  45.  
  46. all:
  47.  
  48. install: all
  49.     for f in $(MANFILES); do \
  50.       $(INSTALL_DATA) $(srcdir)/$$f \
  51.         $(mandir)/$(manprefix)`basename $$f 1`$(manext); \
  52.     done
  53.     @if test `../src/id -u` = 0; then \
  54.       echo you are root, so installing su.1; \
  55.       $(INSTALL_DATA) $(srcdir)/su.1 $(mandir)/$(manprefix)su.$(manext); \
  56.     else echo WARNING: you are not root, so not installing su.1; fi
  57.  
  58. uninstall:
  59.     for f in $(MANFILES) su.1; do \
  60.       rm -f $(mandir)/$(manprefix)`basename $$f 1`$(manext); \
  61.     done
  62.  
  63. TAGS:
  64.  
  65. clean:
  66.  
  67. mostlyclean: clean
  68.  
  69. distclean: clean
  70.     rm -f Makefile
  71.  
  72. realclean: distclean
  73.     rm -f TAGS
  74.  
  75. dist:
  76.     ln $(DISTFILES) ../`cat ../.fname`/man
  77.  
  78. # Tell versions [3.59,3.63) of GNU make not to export all variables.
  79. # Otherwise a system limit (for SysV at least) may be exceeded.
  80. .NOEXPORT:
  81.